package com.celesea.auth.group.service;

import com.celesea.auth.group.entity.GroupUser;
import com.celesea.auth.group.vo.GroupVo;
import com.celesea.framework.service.BaseService;
import com.celesea.framework.vo.DictionaryVo;

import java.util.List;

/**
 * @author JackYuan
 * @create 2017-10-28 20:45
 */
public interface GroupUserService extends BaseService<GroupUser> {

    List<GroupUser> findByGroup(String roleId);

    int deleteByGroup(String roleId);

    int insertByGroup(GroupVo entity);

    List<DictionaryVo> findByGroupCode(String code);
}
